Removed error logging to fix error