fix for SDK7 && iOS7