fixed duplicate auto loading