fix calendar syntax