remove BaseRest  reference