selected event fix