Bug fix "manage_pledge not defined"