fix previous redirect