bug fixed in parsing url parameters