fix taskDAL bugs