fix auto load