simplify constants