fixed bug where console would recieve no message on illegal command