fix for material wells and for multiple selects