fixed reading system.properties.