Modified write_comment error