force property to number to resolve iPhone bug