fixed adjugate method