fix image resizes