fixing problem with selecting cca barplot variables in some models