fix error on membership module