fix layouts with implied extensions