some tiny refactors to featuretblwriter