fix issue with ignoring parameters in apit calls