Improving error checking in magazine