add more logs for investigate crash