NPE protection
support Samsung multiwindo