put some setting variables on top and fixed tables not displaying properly in normal view