remove useless code
rest interface 70%