fix rewrite
Merge pull request #65 from apardo/production

fix rewrite