Reload window if it doesn't work