target & targettype parameter of wls types expects an array now