fixed modification check