debug log small fix