properly fix image