rework width code to handle nrow=1 case