fix role migration error