need to do some conditional iOS7 stuff