fix of work_assign_preview function