fixed compile errors in animated speech