fix shipping state visibility on page refresh