Fixed a issue with command

reported by games647