fix after sign in redirect issue