fix to refer interval seconds