Fix layout extends