Fix item profile url logic