rewrite for postfix