improve bet page and main page