loading and css fixing