correct CronApi after import