fix naming conflicts for fn shared method