fix for thread extension