fixed code to display info properly