some fixes for calendar import template