fixed a bug where feature variables where duplicated in variability encoding