fix to ios 8.0