made some database fields nullable
fixed a bug that prevented member deletion