remove excess row remove function call