fix binary diff problem