fix headline type for undo entry