Fixed needless console logging