add stricter restriction for action.parent + add test