exit the directory