rewrite defaul layot