fixed rest call