small fix for bare_role