fix schedule tasks on auto-register