fixed #144 problems with eliminateTuples