bbox fix. make sure w long value is less than e long value