fixed what visit was returning to reurn the Url instead of html