fixed command length problem