improve detecting freq. list