Fixed the MAC verification problem