adopt layout to ehc