fix image overflow