Removed unneeded logging hack