on_new chacks now correctly for global call table, instead of just a table