fixed problem with setting marker in iOS 5