fixed wp 4.0 rewrite flush bug