avoid issues with API level < 16