fix redirect view