fixed select error