fixing url for db connection