fix adding tags at stack