added postfix error check