fixed getBounds