Fix bug with member access