fix new contract btn #734