Fix doneLater bug