removed typo in log calls