Fix Calendar syntax error