fix image enhance problem