fix role resources setting