fixed problem in command interpetation