remove syntax error only happening with threaded perls