fix typo
transform: rename private methods with underscore prefix