Fixes #5434: change the frequency of agent per agent

wrong indentation here