fix argument of rest.get