return early if location == null