Fixed resizing issues
Removed unnecessairy index functions

- Prevent unnecessairy error stuff (default 404 is displayed)