made project compatible with ios 8.0