fixed constant folding
slight change