fixed initial resize of maximus