fix issues on role creation