bugs fixed for feature_selecti