diff --git a/modules/Bio/EnsEMBL/Hive/Worker.pm b/modules/Bio/EnsEMBL/Hive/Worker.pm
index c3fcaccf3c4b3463a2b1a81fde90df6ec0f2d975..a456d07cb8e39e9e412cd4e8fbb1b22c67c1e254 100755
--- a/modules/Bio/EnsEMBL/Hive/Worker.pm
+++ b/modules/Bio/EnsEMBL/Hive/Worker.pm
@@ -399,7 +399,7 @@ sub worker_process_temp_directory {
     #create temp directory to hold fasta databases
     my $username = $ENV{'USER'};
     my $worker_id = $self->worker_id();
-    $self->{'_tmp_dir'} = "/tmp/worker_${username}.${worker_id}";
+    $self->{'_tmp_dir'} = "/tmp/worker_${username}.${worker_id}/";
     mkdir($self->{'_tmp_dir'}, 0777);
     throw("unable to create a writable directory ".$self->{'_tmp_dir'}) unless(-w $self->{'_tmp_dir'});
   }