fix installer bug in constant