cleanup layout