Add some log for debugging a bug