Commit HashMap problem