removing unused entry in command dicts