fixed error message on memberships page.