re-orgnize layout file