the calendar form and detailed page not working when offline sometimes