rewrite customize-layout