Fixing role creation errors.