fix bug in AdminModel