fixed cd -n for large directories