ensure correct bbox