Fixed problem with validating baseurl