prevent worker from being catched back again after being freed
no longer check condition because units already filtered properly
added missing import