fixed parse error when given a full URI