fix layouts' overflows