[Oops] Make it compatible with ios < 7