parent account null check