improve printing of constants