fix for type == select