fix select event