fixed bug in summary method of comp_model