removed bbox handling code