IDE-1554 fixed a layout template