minor fixes to remove compilation warnings