reverted the error log fix again