added a workaround to cleanup DSM used during open