fixed issues with xcode dp4