Fixing console statements