minor error and scheduling work