Fixed the redirect bug, hurray