fix bug introduced in normalize rewrite