*loop-stack* must be an array, not list