we should have a null check here