fixed ios7 after ios8 update didn't bother to support it