get rid of implicit conversion warnings