quick fix,
changed v10 to v8, works fine on api 8 and 10