fix image resize + removed console.logs