fixed stack for ops with side effects