remove unused /local fun from 'source