fix calendar view