hainp: fix read config from file
Merge pull request #43 from hainp/develop

hainp: fix read config from file