changed nrow with size