handle initial commit for compareUrl