padding removal improvements and betting url handling for location