fix role bug
close #18