fixed hashmap iterator access
renamed config.h to common.h