fix role model bug