Fixing diff zero bug