fix the box_type centos check