fixed nasty MAC error