fixed enum point mistake
made ios 6 compatible