fix movetothread