bbox fixes