space: fix typo that would return .top as undefined