fixed negative time defect