file reset and link correction