fixed output to display more useful information