location required wrong attribute, corrected