bugfix for .d