fixing bug changed event system