Bugfix to members/profile functionality