fix summarize command