fixed package so that it works with npm + version updated