Fix NPE. Any of values could be null