Fix bug for delay seconds to minutes.