fixed calendar loading by program