fixed logger call