fixed assertlogging statement