hack fixed of on select event