fix state aggregration, refine docker installation