fixing debug message when recieving command