fix button edit