Fix the problem that Master may generate wrong Task because c++ isn't allow to invoke a constructor inside the other constructor