add args into boilerplate and fix crash in sehchain