solved a set of bugs that were caused by the disappearance of the featureid. column counts were not correct and some choices were based on the fact that one column was not relevant