added ios 5.0 suport