fixed random bug where unchosen values would remain the same