scheduling errors

fixed an scheduling error