fix artifact generation