remove rest call