Fix Issue #54 calendar Example crash

Caused by SHA 9ce8b92b4f5e15761e897ff281d8e27b34840e76