reformat code; fix id conflict; fix seaweed block