fixed action event assignment bug