Fix major bug caused by debug i forgot to remove