add wager view
correct bug in registerView