Fixed a bug in comment parsing