fix nullpointer exception when properties file is missing