minor fixes of some warnings