Fixed crash on iOs 7