fix bug edit detail