fix bug bet model