fix exception macro