clean up auto loading