fixed firefox redirect problem after regi