fix department and city register select event