fixed pushing wrong variables into todo objects.