Added function of roles list
array fix