fix image close