Get frequency always returned 0