Remove debug files and fixed printing