fix bugs with looking for members