added exception to commandProxy when we want to get the input