fix image title and note edit function