self.onmessage tranferable error corrected