fixed problem with http(s):// prefix on urls