fixed a bug on mouseover update