Quick fix for attachment

Should fix the new thread attachment problem