reset prevous loaction state