Removed useless debugmode, fixed odd things
Fixed error