fixing some apscheduler thing