check for length of input before running command