finish some layout