mod rewrite bug fixing