updated fix when moved rows