fixing row error