fixed unclosed dd