handle constant term during div or normal