Fixed the redirect error - http