small fix, logging