Removed a bunch of debug stuffs