database fix for memberships and remove a link in views