fixed command select bug