Bugfix for sending command