typo
better logging