fixed bugs in miniroute's usage of hashmaps