fix image gallery issue;