fix next-tick dependency