core build fix