Added trim to calendar ID field