correct problems found by static analyzer
use 10.11 SDK
Authored by: slice2009 2017-12-06
Parent: [r74]
Child: [r76]