Fix diff in function persist