adjust version of imgapioptms