fix regis redirect bug
fix regis redirect bug