Protect against empty stack
Remove port from activity model origin