fix major selection