updated target api from 16 to 17