fix bug of setfav