Corrected location template