do not set role if it is not passed