Fixed a security vulnerability and added stake=0.