fixed typo in local file loading