getRole corrected