correct a typo in do_trend: lstFid -> lstFID