next build fix