revert the layoutComponent codes to prevent the demos crush.