fix next start date fail logic return nil
move sensitive info to local_env, fix occurrences start_time logic