fix edit info null pointer exception bug