Delete on_load function