fixed edit quiting program