revert commit "remove check in get function"