fix broken condition in list authorized