fix roles validation