fixing nil string