Fixed error where data was incorrectly printed out multiple times