added check for valid value of --tuner