Extra error checking in mags