add logs to detect the fail