mat file copy bugfix in jobhandler