fixed Iphone Counter Bug