adding fix for titanium ios