fixing problem with properties file