fixed an error with going too deep.