output layout fix