Fix bug with members