fix layouts