Fixes #1247 Thread prefix error