fixed empty dict key bugs lists