fixed some owner and member bugs refactored and deleted cruft