change layout to specified