remove debugging related console.log in resize