fix bug introduced in refactor.