fixed issue with useless Print statement