fixed .dstore issues in mac