stack: more elegant move instead of reset/release hack