mapcallbacks cleanup