fix more parameters
pass through selection error correctly