check for null locations