Fixed wrong cmd len error