small fix at restservice