bug fix about unchanged rows