fixed states on page refresh