fix overlapping appointment and table allignment