repair fix for #13: clean command before sending