fixed error when row of memebers is more than 1