Fix main redirect