fixing a warning in Xcode4.6