fixed inconsistent member representation in a list in firebase