fix bug on aggregator
update animal's procedures
adapt first run for animal's group
clean code