fixed code so the information would display