fix plugin calnder issue