fix passing multiple datasets and non zipped layers to worker