MAC: fix error on MAC