fix reference to csr_matrix type