fix problems with build