fixes edit bet bug
Merge branch 'dev'