corrected some error in the taskqueue service.