fix for range field