fix bed diffs