fix the initialization problem in simialirty