Fix small bug in d4g2018