fix of error when making summary screen