cleanup swipe action parsing