added template check if location not available