Corrected a bug in the URLBuilder