add a log to determine the issue