getting rid of some warnings