fix display of invites.

closes #45.