somewhat hackish fix for dealing with http:// string