Fix possible NullpointerException, by don't depending on the properties file