handled a few edge cases for search and check boxes, comments inline