fix image hidden bug