git rid of implicit conversions warning