fixed string formatting issue
removed debug output
bugfixing all the way