fixed bug in filter_number_in_box