Fixing console statement