second soulution for issue with MAC