change roles mask to big int