fixed issues with rewriting / deploy