fix randomly broken stuff in layout