dep cleanup and open auto