fix bug on featuremapper creation