mod rewrite bug fix