check properties on NumberFormatException