remove unnecessary conversions to string