Fix target.role errors