doc body as template
use component/events
fix test