comment type checking fix