remove unnecessary call to `cd`