removed superfluous \n
removed debug comments
fixed typo