fix lapack lower assumption