typo in error log stmt