fixed lfs_reverse