Change QueryParam to PathParam, QueryParam doesn't seem to pass through properly