Major bug

This major bug causes most function to not work sorry