fix error in checking for start commands