Fixing a bug with leap() and gut()