fix bug on frequency can not be passed in from config file as miner.conf