Fixed a few things that caused errors on school server