add compatibility patch (API 10)