fix mapgroup