fix command.toString error