Removing unwanted console statement