Fix redirect from controllers