silenced / fixed warnings in Xcode