several fixes e.g. agent and player-hashmap