IOS 7 fix

Signed-off-by: Philip Plotnikov <Philip@plotnikov.nl>