iOS bug fix