fix bug package.json, RedFactory