fixed edit and save buttons