fixed minor bug in inter-a-action and exit-a-action functions