fix fpath, fix typo