Find and fix build error bug