fix bug where the insert sig button would be effective only when auto_sig was set