"Ways" would seem logical from a strictly grammatical point of view; however, "way," in this sense, is in the nature of an idiom - having one's way, getting one's way, getting their way, etc. - and it is always singular when used like this, no matter if it refers back to something plural, as it does here.