fixed a few errors on the automatic log scheduler