Fix error in reap script