fix api-specific select transformation.