getRole not working