added upper limit for suppored sdk version