fixed bug NPE when creating defence copy