fix build task sequence