changed target to ios 6