remove useless code for xivoserver
restore removed code