improve scalar reification