Fixing determinant