get rid of some build warnings