remove rest controller