fixed bug with row removing