fix models autoloader bug