fix /dev/shm/mac2switch mac formatting