fixed calcuation for postix expressions