optimize for nested comments