fix prev data