prevent fails with null values and toString