fix mod_rewrite bug