Fixes bug in worker printing