cleanup build errors