Fixed populate task bug.