fix layouts.