rewrite limit