fix save law detail bug