fixed UI for a SizeClass(Any, Any)
Main classes improved