FIX: major bug, exporting wrong features to .csv file