optimize output info