entry file rewrite fixed