fixes to dimer