fix some bugs, fix online couting (STILL NEEDS SOME BOT LOVE)