logging
fix variable scope
increase interval of job