fix Q4 overflow issue