moved a yml parameter to class parameter, removed a bug in the target operation