removed intermediate debug logs