fix delete condition when year difference