fixed unneccessary console output