Fixed a bug in @d2 introduced in ffaf33