fix bed inconsistencies