Fix bugs around comment files

Message typo and != comparison on a string