add debug log, squash warning