get rid of some warnings