remove spacing at end of quantum dot commands