Removed accidentally live debug output from function