fix unused parameter warning
fix assignment on a moved-from Work.