Fixed extra print statement issue