location null check
check