minor error in handling seconds...