fix artifact library bug