create calendar & fix bugs