remove some conversion warnings