fix setAsVerticalList & setAsHorizontalList backforward compatibility issue