fixed command getting