add log to track bug