fix with page refresh