Remove debug, fix problem