expand rows - fix bug