fixed requency min/max, made frequency range input