fix -register-constant