fixed calendar formating