auto cd in the file explorer and fix async issue