Fix an error on calendar