fix parsing of pre- and postfixes