fixed code that apple says will break in iOS 7 beta 3, and is therefore ...

...probably a bad pattern