The revoke loop is using load_icons which is the name of the function instead of loaded_icons.
load_icons
loaded_icons