fix of redirect