clear temp data when restoring