deal with case, when cmd just ran on it own