fix enter/exit in stacked