fix online bug