added check for thesis_box class