fixing resigning in bug