commands not sending properly