fix build generator