switch callback order