FIX: cast to np array reset as in 1a5cb05