Fix bug to make long urls  without http prefix work as well