another fix for nesting anonymous in "named anonymous" classes and vice versa