fixed command problems