fix image sample