fixed command errors