remove broken code, fix package.json