- fixed not running schedule jobs hopefully
- clean up by remove obsolete code