resolving issues for android < 3.0