fix role to lower case