fix metrics based on loaded items