run assets callback in next tick