* fixed iOS7 comatibility