handle invalid macId