Writing to the same file

I had a session where it kept overwriting to the same file (index.php) rather than creating new files. How to prevent this?

Wappler v7.1.2