fix eexists problem