fixing bug with mhz and ghz