fix all bug in TADMac