error checking on nested comments