workaround for problem with symmetric-matrix