fixed bug related to BBOX