#218: util/package: fix reference errors; fix the wrong usage of fs; fix own properties;
update version