fixed a bug that redefine many times cause breaking it