fixed compiler issues with @cond nested inside a @condblock