fix input-output issue. -- add add-this for sharing