change minDiff time to 60
remove extra line