fixing compile errors after adding EmptyTrieKeyException