fix NPE in mate situations