add more logs
null check