fix summary nil bug