handling for null, conversions from int to string