fix d() call