Fix bugs in OnlineTable