fix online layout