fixed NPE loading properties