check for relative url