fix bug updating freq. fix bug ratio score