improve printing layout