adding fix check for comments output