calib, update options, fix trial error