adjust output layout