fix move row bug