fixed edit error