Fix layout metadata