fix nesting of white-cards