fixed setting active role