fix function name in localfab.py