fix spelling mistake: use fpath instead path