fixes to get mac adress