add more logs into profile.