fix error during build