fix bug in roster restful api