[TASK] Trim whitespaces in commands

this patch fixes whitespaces in command messages

Fixes: #4