bug fix for delta

bug fix for delta