improve build task.