repair error on adding work item in an empty step