fix for location template 2