fixed issus causeed by xcode3