figuring out why command is failing