removed incorrect output to console