Fixed noob breakage of debugmode