Fixed a logging statement