diff bug fix