Fix layout compiler