mobile rewrite bug