fix variable selection