small bug w/ logging statement