fix package.json
fix main path
remove debug code