Normalized the HEAD of all the layouts