Clear HashMaps after preconditions are met
Merge pull request #145 from jd-11/master

Clear HashMaps after preconditions are met