clean up extra cd commands