some changes to adapt blog to betting