bugfix resign